package cn.wolfcode.p2p.business.domain;

import java.util.HashMap;
import java.util.Map;

import cn.wolfcode.base.BaseDomain;
import cn.wolfcode.p2p.base.util.JSONUtil;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;;

/**
 *    对公账号
 *    
 *    @author 
 *    @since 2018-12-1 21:17:05
 */
@Getter@Setter
@Accessors(chain = true)
public class platformBankInfo extends BaseDomain {
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
     * 银行名称
     */
    private String bankName;

    /**
     * 支行名称
     */
    private String bankForkName;

    /**
     * 银行开户人名字
     */
    private String accountName;

    /**
     * 银行账号(卡号)
     */
    private String accountNumber;
    
    public String getJsonString() {
        Map<String, Object> json = new HashMap<>();
        json.put("id", id);
        json.put("bankName", bankName);
        json.put("accountNumber", accountNumber);
        json.put("bankForkName", bankForkName);
        json.put("accountName", accountName);
        return JSONUtil.toJSONString(json);
    }

}